package com.dylan.elasticsearch.controller;

import com.dylan.elasticsearch.repository.es.EmployeeEsRepository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author zhangshaojian
 * @date 2023/3/29/029 18:12
 */
@RestController
public class HelloController {

    @Resource
    private EmployeeEsRepository employeeEsRepository;

    @GetMapping("hi")
    public String hello() {
        return "hello world";
    }
}
